package com.hins.demo.factory;

import com.hins.demo.model.order.Item;
import com.hins.demo.model.order.Order;
import org.springframework.stereotype.Component;

/**
 * Description: 订单实体类工厂
 *
 * @author wenjiaqi
 * @date 2021/6/18 16:25
 */
@Component
public class OrderFactory {
    public Order create(Long userId, Item item) {
        // 组装订单实体类...
        return new Order();
    }
}
